import { NgModule } from '@angular/core';
import { SharedModule } from '@shared';
import { JoaRoutingModule } from './joa-routing.module';
import { JoaLeaveComponent } from './leave/leave.component';
import { JoaLoanComponent } from './loan/loan.component';
import { JoaLeaveEditComponent } from './leave/edit/edit.component';

const COMPONENTS = [
  JoaLeaveComponent,
  JoaLoanComponent,];
const COMPONENTS_NOROUNT = [
  JoaLeaveEditComponent];

@NgModule({
  imports: [
    SharedModule,
    JoaRoutingModule
  ],
  declarations: [
    ...COMPONENTS,
    ...COMPONENTS_NOROUNT
  ],
  entryComponents: COMPONENTS_NOROUNT
})
export class JoaModule { }
